package com.nulldev.util.networking.npacket4.extensions;

import java.io.IOException;
import java.io.InputStream;
import java.io.Serializable;

public interface PacketExtension extends Serializable {
	public int extensionID();

	public byte[] extensionData();

	public byte[] processData(final byte[] data);

	public PacketExtension readExtensionData(final InputStream dis) throws IOException;
}
